//
//  testViewController.m
//  table
//
//  Created by iD Student on 7/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "testViewController.h"

@interface testViewController ()
@end

@implementation testViewController
@synthesize label;
@synthesize name;
@synthesize usr;
@synthesize label_b;
@synthesize label_c;
@synthesize image;
- (void)viewDidLoad
{
    [super viewDidLoad];
    [label setText:usr.name];
    [label_b setText:usr.aboutMe];
    [label_c setText:usr.status];
    [image setImage:usr.profilePicture];
    
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)viewDidUnload
{
    [self setLabel:nil];
    [self setLabel_b:nil];
    [self setLabel_c:nil];
    [self setImage:nil];
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
        return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
    } else {
        return YES;
    }
}

@end
